package com.hospital.register.dto.core.common;

import com.hospital.register.dto.base.ApiPageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@ApiModel(value = "分页查询排班的参数")
@Data
public class SchedulePageDto extends ApiPageDto {

    @ApiModelProperty(value = "科室编号")
//    @NotBlank(message = "科室编号不可为空")
    private String depcode;

    @ApiModelProperty(value = "排班日期")
//    @NotNull(message = "日期不可为空")
    private Date workDate;

}
